package work.shyk.cdp.xmlDemo.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 * description: <br>
 * createTime: 2020/10/2015:28 <br>
 *
 * @author zzh
 */
@XmlAccessorType(XmlAccessType.FIELD)
// 控制JAXB 绑定类中属性和字段的排序
@XmlType(propOrder = {
        "id",
        "repoType",
        "contentResourceURI",
        "name",
        "format",
        "provider",
        "providerRole",
        "exposed",
})
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Group {
    String id;
    String repoType;
    String contentResourceURI;
    String name;
    String format;
    String provider;
    String providerRole;
    boolean exposed;
}
